
/*
 * .
 * All Rights Reserved.
 */
package com.model.demo.designmodel.singleton.test;

import com.model.demo.designmodel.singleton.LazyInnerSingleton;

/**
 * ExecutorThread
 *
 * @author Liao Dongshan, 2019年05月07日
 *
 */
public class ExecutorThread implements Runnable {
    @Override
    public void run() {
//        LazySingleton lazySingleton=LazySingleton.getInstance();
        LazyInnerSingleton lazySingleton=LazyInnerSingleton.getInstance();
        System.out.println(Thread.currentThread().getName()+":"+lazySingleton);
    }
}
